<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    <link href="__ACSS__/style.css" rel="stylesheet" type="text/css" />
    <link href="__ACSS__/select.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="__AJS__/jquery.js"></script>
    <script type="text/javascript" src="__AJS__/jquery.idTabs.min.js"></script>
    <script type="text/javascript" src="__AJS__/select-ui.min.js"></script>
    <style>/*分页样式*/
        table { width: 200px; min-height: 25px; line-height: 25px; text-align: center; border-collapse: collapse;}
    </style>
</head>
<body>

<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="#">首页</a></li>
        <li><a href="#">系统设置</a></li>
    </ul>
</div>
<div class="formbody">
    <form action="{:url('add_blok')}" method="post">
        <table>
            <tr>
                {volist name="specification_name" id="header"}
                <th>{$header}</th>
                {/volist}
                <th>商品价格</th>
                <th>促销价格</th>
                <th>商品库存</th>
                <th>售卖的数量</th>
                <th>展示售卖数量</th>
                <th>展示商品库存</th>

            </tr>
            {volist name="goods" id="vo"}
            <tr>
                {volist name="vo['guige']" id="voo"}
                <td><input type="text"  value="{$voo}"></td>
                {/volist}
                <td><input type="text" name="price[]" value="{$vo['price']}"></td>
                <td><input type="text" name="sales_price[]" value="{$vo['sales_price']}"></td>
                <td><input type="text" name="stock[]" value="{$vo['stock']}"></td>
                <td><input type="text" name="sold[]" value="{$vo['stock']}"></td>
                <td><input type="text" name="show_sold[]" value="{$vo['show_sold']}"></td>
                <td><input type="text" name="show_stock[]" value="{$vo['show_stock']}"></td>
                <td><input type="text" name="id[]" value="{$vo['id']}"></td>
            </tr>
            {/volist}
        </table>
        <div style="text-align: center"> <input type="submit" value="提交"></div>
    </form>
</div>
</body>
</html>
